package com.baobao.excel.easypoi.handler;

import cn.afterturn.easypoi.handler.impl.ExcelDataHandlerDefaultImpl;
import com.baobao.excel.easypoi.bean.User;

/**
 * @author baobao
 * @create 2021-02-03 11:42
 * @description
 */
public class MyExportHandler extends ExcelDataHandlerDefaultImpl<User> {
    @Override
    public Object exportHandler(User obj, String name, Object value) {
        // 打印信息
        System.out.println("exportHandler:" + name + value);
        // 在原始数据后面拼接上55
        return value + "55";
    }
}
